package com.xwaf.platform.system.api.entity.auth;

import com.baomidou.mybatisplus.annotations.TableName;
import com.xwaf.platform.common.api.entity.ELItem;
import com.xwaf.platform.system.api.enums.UserStatus;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * <p>
 * 用户表
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019-5-25 12:21:34 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Data
@TableName(value = "sys_user")
public class User extends ELItem {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "真实姓名 长度(100)")
	private java.lang.String actualName;

	@ApiModelProperty(value = "职务 长度(30)")
	private java.lang.String jobNo;

	@ApiModelProperty(value = "密码 长度(200)")
	private java.lang.String password;

	@ApiModelProperty(value = "是否系统管理员 1，0 ")
	private java.lang.Boolean sysManager;

	@ApiModelProperty(value = "是否企业管理员1，0 ")
	private java.lang.Boolean companyManager;

	@ApiModelProperty(value = "企业ID ")
	private String companyId;

	@ApiModelProperty(value = "手机号码 长度(20)")
	private java.lang.String mobile;

	@ApiModelProperty(value = "邮箱（登录） 长度(100)")
	private java.lang.String email;

	@ApiModelProperty(value = "状态：未激活，已激活，已登录 长度(20)")
	private UserStatus status;

	@ApiModelProperty(value = "是否锁定  1 是 2否")
	private java.lang.String lock;

	@ApiModelProperty(value = "备注 长度(255)")
	private java.lang.String memo;

	@ApiModelProperty(value = "qq 长度(100)")
	private java.lang.String qq;

	@ApiModelProperty(value = "省份 长度(100)")
	private java.lang.String province;

	@ApiModelProperty(value = "城市 长度(100)")
	private java.lang.String city;

	@ApiModelProperty(value = "联系地址 长度(500)")
	private java.lang.String address;

	@ApiModelProperty(value = "性别(1：男 0：女) ")
	private java.lang.Long sex;

	@ApiModelProperty(value = "用户头像 长度(200)")
	private java.lang.String logoPicUrl;

}
